package com.aizhixin.lab.project.course.repository;

import com.aizhixin.lab.project.course.entity.ExercisesStuStatistics;
import com.aizhixin.lab.task.entity.TaskStuStatistics;

import org.springframework.data.jpa.repository.JpaRepository;





public interface ExercisesStuStatisticsRepository extends JpaRepository<ExercisesStuStatistics,String> {

    ExercisesStuStatistics findById(String id);

    ExercisesStuStatistics findByExercisesQuestionIdAndStuId(String exercisesQuestionId,String stuId);

    void deleteByExercisesQuestionIdAndStuId(String exercisesQuestionId,String stuId);
}
